package com.md.model.response.authentication.users;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.md.util.StringUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 刘骄阳
 * 2022-09-22 22:03
 */
@Data
@ApiModel("注册用户响应实体")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RegisterUsersResponse {
  /**
   * 用户名
   */
  @ApiModelProperty("用户名")
  private String name;
  /**
   * 密码
   */
  @ApiModelProperty("密码")
  private String password;
  /**
   * 账号
   */
  @ApiModelProperty("账号")
  private String account;

  @Override
  public String toString() {
    return StringUtil.objectToJson(this);
  }
}
